import { MockMethod } from 'vite-plugin-mock';
import { resultPageSuccess } from '../_util'
export default [
  {
    url: '/mock-api/datacenter',
    method: 'get',
    timeout: 800,
    response: ({ query }) => {
      let res = {
        data: new Array(102).fill({
          'id|+1': 1,
          city: '@city',
          county: '@county',
          org: '单位1',
          lab: '实验室1',
          labLevel: 'p1',
          ID: 'ID',
        })
      }
      return resultPageSuccess(1,10,res.data)
    }
  },
  
] as MockMethod[];
